<layout name ="Index/common" />
<div class="banner banner2">
	<div class="container">
		<div class="headr-right">
				<div class="details">
					<ul>
						<li><a href="mailto:mr.reboot@qq.com"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>info(at)Mr.Reboot</a></li>
						<li><span class="glyphicon glyphicon-earphone" aria-hidden="true"></span>(+86)177 3975 2367</li>
					</ul>
			  </div>
		</div>
		<div class="banner_head_top">
			  <div class="logo">
					<h1><a href="__ROOT__/">Mr.Reboot<span class="glyphicon glyphicon-knight" aria-hidden="true"></span><span>Blog</span></a></h1>
			</div>
			<div class="top-menu">
				<div class="content white">
					<nav class="navbar navbar-default">
						<div class="navbar-header">
							<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
								<span class="sr-only">Toggle navigation</span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
							</button>
						</div>
						<!--/navbar header-->
						<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
							<ul class="nav navbar-nav">
								<li><a href="__ROOT__/">首页</a></li>
								<li class="dropdown active">
									<a href="#" class="scroll dropdown-toggle" data-toggle="dropdown">博客<b class="caret"></b></a>
									<ul class="dropdown-menu">
										<li><a href="__ROOT__/index/listArt">全部文章</a></li>
										<foreach name='cate' item='ct'>
											<li><a href="__ROOT__/index/listArt/cateid/{$ct.id}">{$ct.cate}</a></li>
										</foreach>
									</ul>
								</li>
								<li><a href="__ROOT__/index/msg.html">留言反馈</a></li>
								<li><a href="__ROOT__/index/about.html">关于本站</a></li>
							</ul>
							</div>
						  <!--/navbar collapse-->
					</nav>
					  <!--/navbar-->
				</div>
					<div class="clearfix"></div>
					<script type="text/javascript" src="__HOME__/js/bootstrap-3.1.1.min.js"></script>
			  </div>
				<div class="clearfix"></div>
		  </div>
	</div>
</div>
<!---->
<div class="review">
	<div class="container">
		<h2>博客文章</h2>
		<div class="review-sec">
			<for start='0' end='count($blog)' step='2'>
				<div class="review-grids">
					<div class="col-md-6 revw">
						<div class="rft-grid">
							<div class="col-md-5 rft-pic">
								<a href="__ROOT__/index/artdetial/id/{$blog[$i][id]}"><img src="__ROOT__/{$blog[$i][smallimg]}" class="img-responsive" alt=""/></a>
							</div>
							<div class="col-md-7 rft-pic-info">
								  <h4><a href="__ROOT__/index/artdetial/id/{$blog[$i][id]}">{$blog[$i][title]}</a></h4>
								<p>{$blog[$i][profiles]}</p>
							</div>
							<div class="clearfix"></div>
						</div>
					</div>
					<if condition="($i+2) elt count($blog)">
						<div class="col-md-6 revw">
							<div class="rft-grid">
								<div class="col-md-5 rft-pic">
									<a href="__ROOT__/index/artdetial/id/{$blog[$i+1][id]}"><img src="__ROOT__/{$blog[$i+1][smallimg]}" class="img-responsive" alt=""/></a>
								</div>
								<div class="col-md-7 rft-pic-info">
									  <h4><a href="__ROOT__/index/artdetial/id/{$blog[$i+1][id]}">{$blog[$i+1][title]}</a></h4>
									<p>{$blog[$i+1][profiles]}</p>
								</div>
								<div class="clearfix"></div>
							</div>
						</div>
					</if>
					<div class="clearfix"></div>
				</div>
			</for>
		</div>
	</div>
</div>